export default {
  path: '/article',
  component: () => import(/* webpackChunkName: 'news' */ '@/views/article'),
  redirect: '/article/list',
  children: [
    {
      path: 'list',
      component: resolve => require(['@/views/article/list'], resolve),
      meta: { title: '种草' }
    },
    {
      path: 'view/:id',
      component: resolve => require(['@/views/article/view'], resolve),
      meta: { title: '详情' }
    }
  ]
}
